/*
Copyright 2017 MP Objects BV

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

:target {
  background-color: #fcf8e3;
}

.container-fluid:target, .tab-pane:target {
  background-color: inherit;
}

ul.nav li > span.glyphicon-remove {
  color: #bbb;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 5px;
  top: 4px;
}

ul.nav li:hover > span.glyphicon-remove {
  display: inline-block;
}

ul.nav li:hover > span.glyphicon-remove:hover {
  color: #d00;
}

#dumps > .tab-pane {/* csslint allow: ids */
  bottom: 0;
  left: 0;
  overflow: auto;
  position: absolute;
  right: 0;
  top: 42px;
}

#dumps > .bottom-navbar {/* csslint allow: ids */
  bottom: 50px;
}

.alert + span + #dumptabs + #dumps > .tab-pane {/* csslint allow: ids */
  top: 114px;
}

#dumptabs {/* csslint allow: ids */
  box-shadow: 0 5px 5px 0 rgba(255,255,255,1);
  position: relative;
  z-index: 10;
}

.thread-status-color {
  display: inline-block;
  height: 0.5em;
  vertical-align: middle;
  width: 0.5em;
}

.synchronizer-class {
  border-bottom: 1px dotted;
  cursor: help;
}

.thread-entry .thread-name a {
  border-bottom: 1px dotted;
  color: unset;
}

.thread-entry .thread-name a:hover, .thread-entry .thread-name a:active, .thread-entry .thread-name a:focus {
  text-decoration: none;
}

.thread-entry .thread-name::after {
  content: ": ";
}

.synchronizer-entry .thread-name::after {
  content: "\A";
  white-space: pre; 
}

.thread-stack samp {
  white-space: pre;
}

.drag {
  border-color: #ccc;
  border-color: rgba(82,168,236,.8);
  box-shadow: 0 0 8px rgba(82,168,236,.6);
}

ul.list-csv {
  display: inline;
  list-style: none;
  padding: 0;
}

ul.list-csv li {
  display: inline-block;  
}

ul.list-csv li:before {
  content: ", "
}

ul.list-csv li:first-child:before {
  content: ""
}

.synchronizer-lock-holder { 
  margin-bottom: 4px;
}

.dl-striped > dt:nth-of-type(2n+1), .dl-striped > dd:nth-of-type(2n+1) {
  background-color: #f9f9f9;
}

.accordion-toggle::before {
  color: silver;
  content: "\e114";
  float: left;
  font-family: 'Glyphicons Halflings';
  margin-left: -0.5em;
  padding-right: 0.5em;
}

.accordion-toggle.collapsed::before {/* csslint allow: adjoining-classes */
  content: "\e080";
}

* > .deeplink {
  display: none;
}

*:hover > .deeplink {
  display: inline;
}

* > .helplink {
  cursor: help;
  opacity: 0.16;
}

*:hover > .helplink {
  opacity: 1;
}

.helplink span {
  color: #31708f;  
}

#about .jumbotron {/* csslint allow: ids */
  background-image: url(logo.svg);
  background-origin: content-box;
  background-position: right center;
  background-repeat: no-repeat;
}

.frame-collapse > a.collapsed {
  display: block;
  float: none;
  height: 16px;
  margin: -3px 0 -3px -3px;
  padding-left: 3px;
}

.frame-collapse > a.collapsed:hover {
  background: #f5f5f5;
}

.frame-collapse > a {
  float: left;
  margin-left: -1.5em;
}

.frame-collapse > a .glyphicon-option-horizontal {
  display: none;
}

.frame-collapse > a.collapsed .glyphicon-option-horizontal {
  display: inline-block;
}

.frame-collapse > a .glyphicon-option-vertical {
  display: inline-block;
}

.frame-collapse > a.collapsed .glyphicon-option-vertical {
  display: none;
}

.frame-collapse > a:hover + .collapse {
  background: #f5f5f5;
}

.table-hover > tbody > tr:hover > td {
  background-color: #d9edf7; /*#f5f5ff;*/
}

.nowrap {
  white-space: nowrap;
}
